package com.atguigu.flow.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value = "sqlMapper")
public interface SqlMapper {
    List<Map<String,Object>> sqltest(Map<String, Object> map);
    String dic_type(Map<String, Object> map);
    String get_userid(String username);

    Integer  sqlcount(Map<String, Object> map);

    Integer  sql_update(Map<String, Object> map);

    Boolean getrole(String username,String rolename);


}

